<div class="curriculos index">
	<h2><?php __('Curriculos');?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('name');?></th>
			<th><?php echo $this->Paginator->sort('objectivo');?></th>
			<th><?php echo $this->Paginator->sort('salario');?></th>
			<th><?php echo $this->Paginator->sort('moeda_id');?></th>
			<th><?php echo $this->Paginator->sort('regime_salario_id');?></th>
			<th><?php echo $this->Paginator->sort('emprego_alvo');?></th>
			<th><?php echo $this->Paginator->sort('mudar_area');?></th>
			<th><?php echo $this->Paginator->sort('url_upload');?></th>
			<th><?php echo $this->Paginator->sort('url_foto');?></th>
			<th><?php echo $this->Paginator->sort('url_video');?></th>
			<th><?php echo $this->Paginator->sort('copy_paste');?></th>
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($curriculos as $curriculo):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $curriculo['Curriculo']['id']; ?>&nbsp;</td>
		<td><?php echo $curriculo['Curriculo']['name']; ?>&nbsp;</td>
		<td><?php echo $curriculo['Curriculo']['objectivo']; ?>&nbsp;</td>
		<td><?php echo $curriculo['Curriculo']['salario']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($curriculo['Moeda']['name'], array('controller' => 'moedas', 'action' => 'view', $curriculo['Moeda']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($curriculo['RegimeSalario']['name'], array('controller' => 'regime_salarios', 'action' => 'view', $curriculo['RegimeSalario']['id'])); ?>
		</td>
		<td><?php echo $curriculo['Curriculo']['emprego_alvo']; ?>&nbsp;</td>
		<td><?php echo $curriculo['Curriculo']['mudar_area']; ?>&nbsp;</td>
		<td><?php echo $curriculo['Curriculo']['url_upload']; ?>&nbsp;</td>
		<td><?php echo $curriculo['Curriculo']['url_foto']; ?>&nbsp;</td>
		<td><?php echo $curriculo['Curriculo']['url_video']; ?>&nbsp;</td>
		<td><?php echo $curriculo['Curriculo']['copy_paste']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View', true), array('action' => 'view', $curriculo['Curriculo']['id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $curriculo['Curriculo']['id'])); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $curriculo['Curriculo']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $curriculo['Curriculo']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New Curriculo', true), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Moedas', true), array('controller' => 'moedas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Moeda', true), array('controller' => 'moedas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Regime Salarios', true), array('controller' => 'regime_salarios', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Regime Salario', true), array('controller' => 'regime_salarios', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Experiencias', true), array('controller' => 'experiencias', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Experiencia', true), array('controller' => 'experiencias', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Referencias', true), array('controller' => 'referencias', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Referencia', true), array('controller' => 'referencias', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Areas', true), array('controller' => 'areas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Area', true), array('controller' => 'areas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tipo Empregos', true), array('controller' => 'tipo_empregos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tipo Emprego', true), array('controller' => 'tipo_empregos', 'action' => 'add')); ?> </li>
	</ul>
</div>